package part11singleton;

/**
 * @description: 饿汉模式
 * @author: zhang hang
 * @date: 2024/3/24 14:00.
 * @version: 1.0
 */
public class SingletonTest01 {

    private SingletonTest01() {
    }

    private final static SingletonTest01 instance = new SingletonTest01();

    public static SingletonTest01 getInstance() {
        return instance;
    }

}
